import request from '@/utils/request.js'

//会员列表查询
export const memberListService = (params) =>{
    return request.get('/admin/member/page',{params:params})
}

//添加会员
export const addMemberService = (memberForm)=>{
    return request.post('/admin/member',memberForm)
}
//修改会员
export const updateMemberService = (memberForm)=>{
    return request.put('/admin/member',memberForm)
}
//删除会员
export const deleteMemberService = (id)=>{
    return request.delete('/admin/member/'+id)
}